using AutoMapper;

namespace Joy.Erp.BasicArchives.ItemMasters
{
    public class BillOfMaterialsAutoMapperProfile : Profile
    {
        public BillOfMaterialsAutoMapperProfile()
        {
            CreateMap<BillOfMaterials, BillOfMaterialsDto>().MapExtraProperties().ReverseMap();
            CreateMap<BillOfMaterials, BillOfMaterialsCreateDto>().MapExtraProperties().ReverseMap();
            CreateMap<BillOfMaterials, BillOfMaterialsUpdateDto>().MapExtraProperties().ReverseMap();
        }
    }
}